package com.kaijie.service.impl;

import org.springframework.stereotype.Service;

import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kaijie.dao.RoomMoneyManageDao;
import com.kaijie.entity.RoomMoneyManageEntity;
import com.kaijie.service.RoomMoneyManageService;
import com.kaijie.utils.PageUtils;
import com.kaijie.utils.Query;


@Service("roomMoneyManageService")
public class RoomMoneyManageServiceImpl extends ServiceImpl<RoomMoneyManageDao, RoomMoneyManageEntity> implements RoomMoneyManageService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<RoomMoneyManageEntity> page = this.page(
                new Query<RoomMoneyManageEntity>().getPage(params),
                new QueryWrapper<RoomMoneyManageEntity>()
        );

        return new PageUtils(page);
    }

}
